package dao;

import entity.Dept;

import java.util.List;

public interface DeptDao {

    public List<Dept> findAll();

    boolean insert(Dept dept);

    Dept findById(int deptId);

    boolean update(Dept d);

    boolean deleteDept(int deptId);
}
